/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sunsite.service;

import java.util.List;
import org.springframework.dao.DataAccessException;
import sunsite.po.Message;

/**
 *
 * @author mg
 */
public interface MessageService {
    void addMessage(Message m) throws DataAccessException;
    List<Message> getMessage(int pageNow) throws DataAccessException;
    int getMessagePages() throws DataAccessException;
}
